<template>
  <div class="login-contain">
    <div class="contain-left">
      <div class="left-logo">
        <a-image :src="logoImg" :width="300" :preview="false" />
        <!-- <div class="logo-title">SaaS管理平台</div> -->
      </div>
      <div class="left-footer">
        <div class="footer-copyright">版权所有深圳标普云科技有限公司，如有问题请联系专属客服400-8697-365</div>
        <a-button type="text" href="https://beian.miit.gov.cn" target="_blank" class="footer-record">
          粤ICP备19073556号
        </a-button>
      </div>
    </div>
    <div class="contain-right">
      <LoginForm></LoginForm>
    </div>
  </div>
</template>

<script setup lang="ts" name="login">
import LoginForm from './components/LoginForm.vue'
import { ref } from 'vue'
import logoImg from '@/assets/images/loginLogo.png'
</script>

<style lang="less" scoped>
.login-contain {
  height: 100%;
  display: flex;
  background: linear-gradient(135deg, #5dc966 0%, #377e43 100%);
  .contain-left {
    width: 59%;
    padding: 20px 0;
    background-image: url('../../assets/images/loginBg.png');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    .left-logo {
      margin-left: 40px;
      display: flex;
      align-items: center;
      .logo-title {
        margin-left: 5px;
        font-size: 24px;
        font-family: YouSheBiaoTiHei;
        color: #fff693;
        line-height: 60px;
        font-weight: 600;
        user-select: none;
      }
    }
    .left-footer {
      color: #e9f4fe;
      text-align: center;
      .footer-record {
        color: #e9f4fe;
        margin-top: 6px;
      }
    }
  }
  .contain-right {
    flex: 1;
    padding: 0 16px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
}
</style>
